package com.erp.erp_ui.warehouse.req;

import java.math.BigDecimal;

/**
 * @ClassName : AddOtherInStockDetailReq
 * @Description : 新增其它入库明细入参实体
 * @Author : lst
 * @Date: 2021-03-25 14:07
 */
public class AddOtherInStockDetailReq {

    /**
     * 主键
     */
    private Integer id;
    /**
     * 其它入库id
     */
    private Integer parentId;
    /**
     * 库存id
     */
    private Integer stockId;
    /**
     * 库存明细id
     */
    private Integer stockDetailId;
    /**
     * 合同类型(1:内销 2:外销 3:待定)
     */
    private Integer contractType;
    /**
     * 产品编码
     */
    private String productCode;
    /**
     * 规格编码
     */
    private String specificationCode;
    /**
     * 规格说明
     */
    private String specificationExplanation;
    /**
     * 客户货号
     */
    private String clientProductNo;
    /**
     * 产品单位
     */
    private String productUnit;
    /**
     * 入库单价
     */
    private BigDecimal instoreUnitPrice;
    /**
     * 金额小计
     */
    private BigDecimal moneySubtotal;
    /**
     * 成本单价
     */
    private BigDecimal productUnitPrice;
    /**
     * 成本小计
     */
    private BigDecimal costAmount;
    /**
     * 参考数量
     */
    private BigDecimal referenceQuantity;
    /**
     * 总数量
     */
    private BigDecimal totalQuantity;
    /**
     * 产品数量
     */
    private BigDecimal productNum;
    /**
     * 托盘入数
     */
    private BigDecimal trayNumber;
    /**
     * 总托盘
     */
    private BigDecimal totalTray;
    /**
     * 毛重
     */
    private BigDecimal grossWeight;
    /**
     * 净重
     */
    private BigDecimal netWeight;
    /**
     * 产品中文名称
     */
    private String productCname;
    /**
     * 产品英文名称
     */
    private String productEname;
    /**
     * 产品中文描述
     */
    private String productCdesc;
    /**
     * 产品英文描述
     */
    private String productEdesc;
    /**
     * 采购单号
     */
    private String purchaseNo;
    /**
     * 供应商编码
     */
    private String supplierCode;
    /**
     * 供应商名称
     */
    private String supplierName;
    /**
     * 颜色
     */
    private String color;
    /**
     * 备注
     */
    private String memo;
    /**
     * 仓库编码
     */
    private String warehouseCode;
    /**
     * 仓库名称
     */
    private String warehouseName;


    public BigDecimal getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(BigDecimal totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public Integer getStockDetailId() {
        return stockDetailId;
    }

    public void setStockDetailId(Integer stockDetailId) {
        this.stockDetailId = stockDetailId;
    }

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public String getSpecificationExplanation() {
        return specificationExplanation;
    }

    public void setSpecificationExplanation(String specificationExplanation) {
        this.specificationExplanation = specificationExplanation;
    }

    public String getClientProductNo() {
        return clientProductNo;
    }

    public void setClientProductNo(String clientProductNo) {
        this.clientProductNo = clientProductNo;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public BigDecimal getInstoreUnitPrice() {
        return instoreUnitPrice;
    }

    public void setInstoreUnitPrice(BigDecimal instoreUnitPrice) {
        this.instoreUnitPrice = instoreUnitPrice;
    }

    public BigDecimal getMoneySubtotal() {
        return moneySubtotal;
    }

    public void setMoneySubtotal(BigDecimal moneySubtotal) {
        this.moneySubtotal = moneySubtotal;
    }

    public BigDecimal getProductUnitPrice() {
        return productUnitPrice;
    }

    public void setProductUnitPrice(BigDecimal productUnitPrice) {
        this.productUnitPrice = productUnitPrice;
    }

    public BigDecimal getCostAmount() {
        return costAmount;
    }

    public void setCostAmount(BigDecimal costAmount) {
        this.costAmount = costAmount;
    }

    public BigDecimal getReferenceQuantity() {
        return referenceQuantity;
    }

    public void setReferenceQuantity(BigDecimal referenceQuantity) {
        this.referenceQuantity = referenceQuantity;
    }

    public BigDecimal getProductNum() {
        return productNum;
    }

    public void setProductNum(BigDecimal productNum) {
        this.productNum = productNum;
    }

    public BigDecimal getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(BigDecimal trayNumber) {
        this.trayNumber = trayNumber;
    }

    public BigDecimal getTotalTray() {
        return totalTray;
    }

    public void setTotalTray(BigDecimal totalTray) {
        this.totalTray = totalTray;
    }

    public BigDecimal getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(BigDecimal grossWeight) {
        this.grossWeight = grossWeight;
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public String getProductCname() {
        return productCname;
    }

    public void setProductCname(String productCname) {
        this.productCname = productCname;
    }

    public String getProductEname() {
        return productEname;
    }

    public void setProductEname(String productEname) {
        this.productEname = productEname;
    }

    public String getProductCdesc() {
        return productCdesc;
    }

    public void setProductCdesc(String productCdesc) {
        this.productCdesc = productCdesc;
    }

    public String getProductEdesc() {
        return productEdesc;
    }

    public void setProductEdesc(String productEdesc) {
        this.productEdesc = productEdesc;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("AddOtherInStockDetailReq").append('[')
                .append("id=")
                .append(id)
                .append(",parentId=")
                .append(parentId)
                .append(",stockId=")
                .append(stockId)
                .append(",stockDetailId=")
                .append(stockDetailId)
                .append(",contractType=")
                .append(contractType)
                .append(",productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",specificationExplanation=")
                .append(specificationExplanation)
                .append(",clientProductNo=")
                .append(clientProductNo)
                .append(",productUnit=")
                .append(productUnit)
                .append(",instoreUnitPrice=")
                .append(instoreUnitPrice)
                .append(",moneySubtotal=")
                .append(moneySubtotal)
                .append(",productUnitPrice=")
                .append(productUnitPrice)
                .append(",costAmount=")
                .append(costAmount)
                .append(",referenceQuantity=")
                .append(referenceQuantity)
                .append(",totalQuantity=")
                .append(totalQuantity)
                .append(",productNum=")
                .append(productNum)
                .append(",trayNumber=")
                .append(trayNumber)
                .append(",totalTray=")
                .append(totalTray)
                .append(",grossWeight=")
                .append(grossWeight)
                .append(",netWeight=")
                .append(netWeight)
                .append(",productCname=")
                .append(productCname)
                .append(",productEname=")
                .append(productEname)
                .append(",productCdesc=")
                .append(productCdesc)
                .append(",productEdesc=")
                .append(productEdesc)
                .append(",purchaseNo=")
                .append(purchaseNo)
                .append(",supplierCode=")
                .append(supplierCode)
                .append(",supplierName=")
                .append(supplierName)
                .append(",color=")
                .append(color)
                .append(",memo=")
                .append(memo)
                .append(",warehouseCode=")
                .append(warehouseCode)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(']');
        return sb.toString();
    }
}
